home *** CD-ROM | disk | FTP | other *** search
- #ifndef _igl_H
- #define _igl_H
-
- #include <elate/ave/ave.h>
- #include <ad709/tinygl/gl.h>
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- typedef void* IGLContext;
-
- IGLContext iglCreateContext();
- void iglDestroyContext(IGLContext ctx);
- void iglMakeCurrent(ave_win_t *drawable, IGLContext ctx);
- void iglResizeContext(IGLContext ctx, int width, int height, ave_win_t *drawable);
- ave_pix_t *iglGetPixmap(IGLContext ctx);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-